package com.chat.websocket.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chat.websocket.entity.module.FriendVerify;
import com.chat.websocket.entity.vo.NewFriendVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * SunJingxuan
 * 2022 \ 08 \ 09
 */

public interface FriendVerifyMapper extends BaseMapper<FriendVerify> {

	List<NewFriendVO> searchNewFriend(@Param(value = "userId") Integer userId);

	Boolean whetherHaveNewFriend(@Param(value = "userId") Integer userId);
}
